package app.hzvmap.com.rangecontrol.model;

import com.alibaba.fastjson.annotation.JSONField;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;
import org.xutils.http.annotation.HttpResponse;

/**
 * Created by weiguo on 2018/03/26.
 */

@HttpResponse(parser = JsonResponseParser.class)
@Table(name = "Position")
public class Position {
    @Column(name = "gid", isId = true, autoGen = true, property = "NOT NULL")
    @JSONField(serialize=false)
    private int gid;
    @Column(name = "time")
    private String time;
    @Column(name = "tel")
    private String tel;
    @Column(name = "guid")
    private String guid;
    @Column(name = "latitude")
    private double latitude;
    @Column(name = "longitude")
    private double longitude;
    @Column(name = "altitude")
    private double altitude;
    @Column(name = "bearing")
    private double bearing;
    @Column(name = "speed")
    private double speed;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getAltitude() {
        return altitude;
    }

    public void setAltitude(double altitude) {
        this.altitude = altitude;
    }

    public double getBearing() {
        return bearing;
    }

    public void setBearing(double bearing) {
        this.bearing = bearing;
    }

    public double getSpeed() {
        return speed;
    }

    public void setSpeed(double speed) {
        this.speed = speed;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }
}
